#ifndef BACKGROUND_ICON_LOADER
#define BACKGROUND_ICON_LOADER
class BackgroundIconLoader : public wxThread
{
public:
    BackgroundIconLoader();
    void RequestIcon(const wxString &fullPath, bool isDirectory);
    void RegisterFilePropertiesWatcher(FilePropertiesWatcher *filePropertiesWatcher);
    void Initialize();
    void End();
    virtual ExitCode Entry();
private:
    vector<FilePropertiesWatcher *> filePropertiesWatchers;
    SyncQueue<pair<wxString, bool>> queue;
    bool done;
};
#endif